/*
============================================================================
 Name        : C$(InterfaceBasename) from $(InterfaceBasename).h
 Author      : $(Author)
 Version     :
 Copyright   : $(Copyright)
 Description : C$(InterfaceBasename) interface source
============================================================================
*/

//  Inline Functions

inline C$(interfaceBasename)::C$(interfaceBasename)()
	{	
	}

inline C$(interfaceBasename)::~C$(interfaceBasename)()
	{
	REComSession::DestroyedImplementation(iDtor_ID_Key);
	}

inline C$(InterfaceBasename) * C$(InterfaceBasename)::NewL()
	{
	_LIT8(KAny, "*");
	return C$(InterfaceBasename)::NewL(KAny());
	}

inline C$(InterfaceBasename) * C$(InterfaceBasename)::NewL(const TDesC8& aMatch)
	{
	TEComResolverParams resolverParams;
	resolverParams.SetDataType(aMatch);
	resolverParams.SetWildcardMatch(ETrue);
	
	C$(interfaceBasename) * impl =  reinterpret_cast<C$(interfaceBasename) *>(REComSession::CreateImplementationL(KC$(interfaceBasename), 
		_FOFF(C$(interfaceBasename), iDtor_ID_Key), resolverParams));

	return impl;
	}

inline void C$(InterfaceBasename)::ListAllImplementationsL(RImplInfoPtrArray& aImplInfoArray)
	{
	REComSession::ListImplementationsL(KC$(interfaceBasename), aImplInfoArray);
	}
